package com.uwo.house.dao;

import com.uwo.house.beans.request.SupervisionReportReq;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/8/18.
 */
@Repository
public interface SupervisionReportDao {

    /**
     * 监理人员上传我的报告
     */
    int insertReport(SupervisionReportReq supervisionReportReq);
    /**
     * 监理人员显示报告详情
     */
    List<SupervisionReportReq> getReport(@Param("orderId") String orderId,@Param("supervisorId") String supervisorId);
    /**
     * 监理上传报告并完成
     */
    int updateSupervisionReportStatus(@Param("orderId") String orderId, @Param("supervisorId") String supervisorId);
}
